/**
 * 配置相关路由
 */
module.exports = app => {
  const { router, controller } = app;

  /**
   * 配置管理
   */
  router.put('/api/v1/configurations', controller.v1.configurations.update);
  router.get('/api/v1/configurations/public_key', controller.v1.configurations.findRsaPublicKey);
};
